package com.ruoyi.seedlingSys.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二维码管理对象 qr
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class QrVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 二维码唯一标识 */
    private Long qrID;

    /** 关联的批次ID */
    @Excel(name = "关联的批次ID")
    private Long qrPatchID;

    /** 二维码生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "二维码生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qrProductionTime;

    /** 二维码唯一标识码 */
    @Excel(name = "二维码唯一标识码")
    private String qrUniqueCode;

    /** 零售商信息 */
    @Excel(name = "零售商信息")
    private String qrRetailerInfo;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String qrCustomerName;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String qrCustomerPhone;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String qrCustomerAddress;

    public void setQrID(Long qrID) {
        this.qrID = qrID;
    }

    public Long getQrID() {
        return qrID;
    }

    public void setQrPatchID(Long qrPatchID) {
        this.qrPatchID = qrPatchID;
    }

    public Long getQrPatchID() {
        return qrPatchID;
    }

    public void setQrProductionTime(Date qrProductionTime) {
        this.qrProductionTime = qrProductionTime;
    }

    public Date getQrProductionTime() {
        return qrProductionTime;
    }

    public void setQrUniqueCode(String qrUniqueCode) {
        this.qrUniqueCode = qrUniqueCode;
    }

    public String getQrUniqueCode() {
        return qrUniqueCode;
    }

    public void setQrRetailerInfo(String qrRetailerInfo) {
        this.qrRetailerInfo = qrRetailerInfo;
    }

    public String getQrRetailerInfo() {
        return qrRetailerInfo;
    }

    public void setQrCustomerName(String qrCustomerName) {
        this.qrCustomerName = qrCustomerName;
    }

    public String getQrCustomerName() {
        return qrCustomerName;
    }

    public void setQrCustomerPhone(String qrCustomerPhone) {
        this.qrCustomerPhone = qrCustomerPhone;
    }

    public String getQrCustomerPhone() {
        return qrCustomerPhone;
    }

    public void setQrCustomerAddress(String qrCustomerAddress) {
        this.qrCustomerAddress = qrCustomerAddress;
    }

    public String getQrCustomerAddress() {
        return qrCustomerAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("qrID", getQrID())
                .append("qrPatchID", getQrPatchID())
                .append("qrProductionTime", getQrProductionTime())
                .append("qrUniqueCode", getQrUniqueCode())
                .append("qrRetailerInfo", getQrRetailerInfo())
                .append("qrCustomerName", getQrCustomerName())
                .append("qrCustomerPhone", getQrCustomerPhone())
                .append("qrCustomerAddress", getQrCustomerAddress())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
